<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{dede:field name='title'/} - {dede:global name='cfg_webname'/}</title>
<meta name="keywords" content="{dede:field name='keywords'/}">
<meta name="description" content="{dede:field name='description'/}">
<link href="{dede:global name="cfg_cmsurl"/}/book/images/book_style.css" rel="stylesheet" type="text/css" />
<script language='javascript' src='{dede:global name='cfg_cmsurl'/}/include/dedeajax2.js'></script>
<script language='javascript'>
function CheckLogin(){
  var taget_obj = document.getElementById('book_welcome');
  myajax = new DedeAjax(taget_obj,false,false,"","","");
  myajax.SendGet2("{dede:global name="cfg_cmsurl"/}/book/loginsta.php");
  myajax = null;
}
</script>
</head>
<body onload="CheckLogin()">
<div id="container">
	<!--头部开始-->
    <div id="book_header">
    	<div id="book_top">
        	<div id="book_toplogo">
            </div>
			<div id="book_welcome">您好，请 <span><a href="{dede:global name='cfg_memberurl'/}/member/login.php">登录</a></span> 或 <span><a href="{dede:global name='cfg_memberurl'/}/index_do.php?fmdo=user&dopost=regnew">注册</a></span>
            </div>
            <div class="clear">
            </div>
        </div>

        <div id="book_topimg">
        	<div id="book_topbg">
        		<div id="book_logo">
            	</div>
            	<div id="book_banner">
            	</div>
            	<div class="clear">
            	</div>
        	</div>
        </div>

        <div id="book_menubg">
        	<div id="book_menu">
            	<div id="book_go">
                </div>
                <ul>
                    <li><a href='{dede:global name='cfg_cmspath'/}/book'>主页</a></li>
        			{dede:catalog}
                    <li><a href="{in:field name='url'}{/in:field}">{in:field name='classname'}{/in:field}</a></li>
        			{/dede:catalog}
       			  <li><a href='{dede:global name='cfg_cmspath'/}/member'>会员中心</a></li>
                </ul>
            </div>
        </div>

    </div>
	<!--头部结束-->
    <!--中间开始-->
    <div id="main">
   	  <div id="book_main">
        	<div id="book_index">当前位置：<a href="{dede:global name='cfg_cmspath'/}/book">主页</a> >  搜索</div>
<div id="book_left"><!--左边开始-->
           	  <div class="book_left_main">
               	  <div class="book_left_title">本月热门图书
                  </div>
                    <div class="book_left_main_text">
                    	<ul>
                        	{dede:booklist row='8' titlelen='24' orderby='weekcc'}
							<li><a href='[field:bookurl /]'>[field:bookname /]</a></li>
							{/dede:booklist}
                      </ul>
                    </div>
                    <div class="clear">
                    </div>
              </div>
           	  <div class="book_left_main">
               	  <div class="book_left_title">推荐图书
                  </div>
                    <div class="book_left_main_text">
                    	<ul>
                        	{dede:booklist row='8' titlelen='24' orderby='commend'}
							<li><a href='[field:bookurl /]'>[field:bookname /]</a></li>
							{/dede:booklist}
                      </ul>
                    </div>
                    <div class="clear">
                    </div>
              </div>
           	  <div class="book_left_main">
               	  <div class="book_left_title">总点击排行
                  </div>
                    <div class="book_left_main_text">
                    	<ul>
		  					{dede:booklist row='8' titlelen='24' orderby='click'}
                       		<li><a href='[field:bookurl /]'>[field:bookname /]</a></li>
							{/dede:booklist}
                      </ul>
                    </div>
                    <div class="clear">
                    </div>
              </div>
            </div><!--左边结束-->

          	<div id="book_right"><!--右边开始-->
            <form action='search.php' name='booksearch'>
   		  <div id="book_search"><!--搜索框-->
                	搜索图书：
                  <input name="keyword" type="text" class="book_label" />
                  <select id="id" name="id">
    <option value="0" selected>-请选择分类-</option>
			  		{dede:catalog}
                  	<option value="{in:field name='id'}{/in:field} ">{in:field name='classname'}{/in:field} </option>
              		{in:sonlist}
                  	<option value="[field:id/]"> --[field:classname/]</option>
                  	{/in:sonlist}
              		{/dede:catalog}
                	</select>
                    <input type="submit" name="Submit2" value="搜索" class="book_button" />
              	</div>
                </form>

          <div class="book_news"><!--新书上架-->
                	<div class="book_news_title title">
                    	<ul>
                        <li>搜索结果：</li>
                        </ul>
                    </div>
                    <div class="book_news_style">
                    {dede:list imgwidth='80' imgheight='100' pagesize='10'}
<div class="book_news_style_form1">
                        	<div class="book_news_style_img">  <a href="[field:bookurl/]">[field:litpic runphp='yes']@me = (empty(@me['litpic']) ? "<img src='/images/defaultpic.gif' width='80' height='100' />" : "<img src='@me' width='80' height='100' />"); [/field:litpic]</a></div>
<div class="book_news_style_text1">
                            	<h1>[[field:cataloglink/]] <a href='[field:bookurl/]'>[field:bookname/]</a> </h1><h2>作者：[field:author/]    【是否完成连载：[field:ischeck/]】</h2>
                            	<h3>[field:description/]…</h3>
                            </div>
                    	</div>
                    {/dede:list}
<div class="clear">
                        </div>
                    </div>
                </div>
                <div class="book_listpage">{dede:pagelist size='5'/}
              </div>
          	</div>
            <div class="clear">
            </div>
      </div>
    </div>
<!--中间结束-->
    <div class="book_footer">
        Powered by <a href="http://www.dedecms.com/">DedeCms {dede:global name='cfg_version'/}</a> &copy; 2004-2011  <a href="http://www.desdev.cn/">DesDev Inc.</a><br />
    </div>
  <div class="clear">
    </div>

</div>
</body>
</html>
